<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts: fatfs/ff.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">ESP8266ILI9341DisplayProject</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_82c4e424b44247c9b862621a614caa0c.html">fatfs</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">ff.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="ff_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*----------------------------------------------------------------------------/</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">/  FatFs - Generic FAT file system module  R0.12b                             /</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">/-----------------------------------------------------------------------------/</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">/</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">/ Copyright (C) 2016, ChaN, all right reserved.</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">/</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">/ FatFs module is an open source software. Redistribution and use of FatFs in</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">/ source and binary forms, with or without modification, are permitted provided</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">/ that the following condition is met:</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">/ 1. Redistributions of source code must retain the above copyright notice,</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">/    this condition and the following disclaimer.</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">/</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">/ This software is provided by the copyright holder and contributors &quot;AS IS&quot;</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">/ and any warranties related to this software are DISCLAIMED.</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">/ The copyright owner or contributors be NOT LIABLE for any damages caused</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment">/ by use of this software.</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment">/----------------------------------------------------------------------------*/</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;</div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#ifndef _FATFS</span></div><div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="ff_8h.html#a749228947bc890224b8bd5de6e11faa3">   22</a></span>&#160;<span class="preprocessor">#define _FATFS  68020   </span><span class="comment">/* Revision ID */</span><span class="preprocessor"></span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;</div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;</div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="integer_8h.html">integer.h</a>&quot;</span>    <span class="comment">/* Basic integer types */</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="ffconf_8h.html">ffconf.h</a>&quot;</span>     <span class="comment">/* FatFs configuration options */</span></div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#if _FATFS != _FFCONF</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="preprocessor">#error Wrong configuration file (ffconf.h).</span></div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="comment">/* Definitions of volume management */</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor">#if _MULTI_PARTITION        </span><span class="comment">/* Multiple partition configuration */</span><span class="preprocessor"></span></div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;    <a class="code" href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a> pd;    <span class="comment">/* Physical drive number */</span></div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    <a class="code" href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a> pt;    <span class="comment">/* Partition: 0:Auto detect, 1-4:Forced partition) */</span></div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;} PARTITION;</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="keyword">extern</span> PARTITION VolToPart[];   <span class="comment">/* Volume - Partition resolution table */</span></div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="preprocessor">#define LD2PD(vol) (VolToPart[vol].pd)  </span><span class="comment">/* Get physical drive number */</span><span class="preprocessor"></span></div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="preprocessor">#define LD2PT(vol) (VolToPart[vol].pt)  </span><span class="comment">/* Get partition index */</span><span class="preprocessor"></span></div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="preprocessor">#else                           </span><span class="comment">/* Single partition configuration */</span><span class="preprocessor"></span></div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="ff_8h.html#a6577ed2f95527745bf4d27c53488b9a7">   49</a></span>&#160;<span class="preprocessor">#define LD2PD(vol) (BYTE)(vol)  </span><span class="comment">/* Each logical drive is bound to the same physical drive number */</span><span class="preprocessor"></span></div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="ff_8h.html#aadc4a9aefaf2588bdd7565549f5d91e7">   50</a></span>&#160;<span class="preprocessor">#define LD2PT(vol) 0            </span><span class="comment">/* Find first valid partition or in SFD */</span><span class="preprocessor"></span></div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;<span class="comment">/* Type of path name strings on FatFs API */</span></div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;<span class="preprocessor">#if _LFN_UNICODE            </span><span class="comment">/* Unicode (UTF-16) string */</span><span class="preprocessor"></span></div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<span class="preprocessor">#if _USE_LFN == 0</span></div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="preprocessor">#error _LFN_UNICODE must be 0 at non-LFN cfg.</span></div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;<span class="preprocessor">#ifndef _INC_TCHAR</span></div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;<span class="keyword">typedef</span> <a class="code" href="integer_8h.html#a570001c92f314285ad3e7139d8c58cf7">WCHAR</a> <a class="code" href="ff_8h.html#a03bdb8ce5895c7e261aadc2529637546">TCHAR</a>;</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;<span class="preprocessor">#define _T(x) L ## x</span></div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;<span class="preprocessor">#define _TEXT(x) L ## x</span></div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;<span class="preprocessor">#else                       </span><span class="comment">/* ANSI/OEM string */</span><span class="preprocessor"></span></div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;<span class="preprocessor">#ifndef _INC_TCHAR</span></div><div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="ff_8h.html#a03bdb8ce5895c7e261aadc2529637546">   69</a></span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">char</span> <a class="code" href="ff_8h.html#a03bdb8ce5895c7e261aadc2529637546">TCHAR</a>;</div><div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="ff_8h.html#ae936e4c15227768f7da4e0951def89c8">   70</a></span>&#160;<span class="preprocessor">#define _T(x) x</span></div><div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="ff_8h.html#a3232964568d17bb4a1af30f9db826ce2">   71</a></span>&#160;<span class="preprocessor">#define _TEXT(x) x</span></div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;<span class="comment">/* Type of file size variables */</span></div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;<span class="preprocessor">#if _FS_EXFAT</span></div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;<span class="preprocessor">#if _USE_LFN == 0</span></div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;<span class="preprocessor">#error LFN must be enabled when enable exFAT</span></div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;<span class="keyword">typedef</span> <a class="code" href="integer_8h.html#a6fe04fdd875bcad282f702bb818897b6">QWORD</a> <a class="code" href="ff_8h.html#a3fc0992ad7436250b6b1a0592214b7f2">FSIZE_t</a>;</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="ff_8h.html#a3fc0992ad7436250b6b1a0592214b7f2">   85</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a> <a class="code" href="ff_8h.html#a3fc0992ad7436250b6b1a0592214b7f2">FSIZE_t</a>;</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;<span class="comment">/* File system object structure (FATFS) */</span></div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;</div><div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="structFATFS.html">   92</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div><div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="structFATFS.html#add27d97babe807b573eac98a71dc4ae5">   93</a></span>&#160;    <a class="code" href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a>    <a class="code" href="structFATFS.html#add27d97babe807b573eac98a71dc4ae5">fs_type</a>;        <span class="comment">/* File system type (0:N/A) */</span></div><div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="structFATFS.html#a6a791560e2687e8b1569bfce61208d2d">   94</a></span>&#160;    <a class="code" href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a>    <a class="code" href="structFATFS.html#a6a791560e2687e8b1569bfce61208d2d">drv</a>;            <span class="comment">/* Physical drive number */</span></div><div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="structFATFS.html#a56716c7e7ac10cf46e73ffb2a2e9b545">   95</a></span>&#160;    <a class="code" href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a>    <a class="code" href="structFATFS.html#a56716c7e7ac10cf46e73ffb2a2e9b545">n_fats</a>;         <span class="comment">/* Number of FATs (1 or 2) */</span></div><div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="structFATFS.html#a647e43c9ccae94b7274793d1909897de">   96</a></span>&#160;    <a class="code" href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a>    <a class="code" href="structFATFS.html#a647e43c9ccae94b7274793d1909897de">wflag</a>;          <span class="comment">/* win[] flag (b0:dirty) */</span></div><div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="structFATFS.html#a84e9cdc5a6a8e33ea7ec192058abf161">   97</a></span>&#160;    <a class="code" href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a>    <a class="code" href="structFATFS.html#a84e9cdc5a6a8e33ea7ec192058abf161">fsi_flag</a>;       <span class="comment">/* FSINFO flags (b7:disabled, b0:dirty) */</span></div><div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="structFATFS.html#a417095d7c20d56d417dc0998e0dd5a5c">   98</a></span>&#160;    <a class="code" href="integer_8h.html#a197942eefa7db30960ae396d68339b97">WORD</a>    <a class="code" href="structFATFS.html#a417095d7c20d56d417dc0998e0dd5a5c">id</a>;             <span class="comment">/* File system mount ID */</span></div><div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="structFATFS.html#a189a00aa038044ffad0fc7f7dcf2aae1">   99</a></span>&#160;    <a class="code" href="integer_8h.html#a197942eefa7db30960ae396d68339b97">WORD</a>    <a class="code" href="structFATFS.html#a189a00aa038044ffad0fc7f7dcf2aae1">n_rootdir</a>;      <span class="comment">/* Number of root directory entries (FAT12/16) */</span></div><div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="structFATFS.html#ad7fa7a509f8d097a9ab182d6c47be568">  100</a></span>&#160;    <a class="code" href="integer_8h.html#a197942eefa7db30960ae396d68339b97">WORD</a>    <a class="code" href="structFATFS.html#ad7fa7a509f8d097a9ab182d6c47be568">csize</a>;          <span class="comment">/* Cluster size [sectors] */</span></div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;<span class="preprocessor">#if _MAX_SS != _MIN_SS</span></div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;    <a class="code" href="integer_8h.html#a197942eefa7db30960ae396d68339b97">WORD</a>    ssize;          <span class="comment">/* Sector size (512, 1024, 2048 or 4096) */</span></div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;<span class="preprocessor">#if _USE_LFN != 0</span></div><div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="structFATFS.html#ad1999aa771ae428c3abe14dbe585e981">  105</a></span>&#160;    <a class="code" href="integer_8h.html#a570001c92f314285ad3e7139d8c58cf7">WCHAR</a>*  <a class="code" href="structFATFS.html#ad1999aa771ae428c3abe14dbe585e981">lfnbuf</a>;         <span class="comment">/* LFN working buffer */</span></div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;<span class="preprocessor">#if _FS_EXFAT</span></div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;    <a class="code" href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a>*   dirbuf;         <span class="comment">/* Directory entry block scratchpad buffer */</span></div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;<span class="preprocessor">#if _FS_REENTRANT</span></div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;    <a class="code" href="ffconf_8h.html#a9a3f0670343e51652dd12b18fa90a9eb">_SYNC_t</a> sobj;           <span class="comment">/* Identifier of sync object */</span></div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;<span class="preprocessor">#if !_FS_READONLY</span></div><div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="structFATFS.html#ac26e848817569fedc15a9a4e49ddedd1">  114</a></span>&#160;    <a class="code" href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a>   <a class="code" href="structFATFS.html#ac26e848817569fedc15a9a4e49ddedd1">last_clst</a>;      <span class="comment">/* Last allocated cluster */</span></div><div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="structFATFS.html#ac834248773bf338df807f0d7e6b6a579">  115</a></span>&#160;    <a class="code" href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a>   <a class="code" href="structFATFS.html#ac834248773bf338df807f0d7e6b6a579">free_clst</a>;      <span class="comment">/* Number of free clusters */</span></div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;<span class="preprocessor">#if _FS_RPATH != 0</span></div><div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="structFATFS.html#a217d0ce0c8cec84aa7f0c142679412c6">  118</a></span>&#160;    <a class="code" href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a>   <a class="code" href="structFATFS.html#a217d0ce0c8cec84aa7f0c142679412c6">cdir</a>;           <span class="comment">/* Current directory start cluster (0:root) */</span></div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;<span class="preprocessor">#if _FS_EXFAT</span></div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;    <a class="code" href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a>   cdc_scl;        <span class="comment">/* Containing directory start cluster (invalid when cdir is 0) */</span></div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;    <a class="code" href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a>   cdc_size;       <span class="comment">/* b31-b8:Size of containing directory, b7-b0: Chain status */</span></div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;    <a class="code" href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a>   cdc_ofs;        <span class="comment">/* Offset in the containing directory (invalid when cdir is 0) */</span></div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="structFATFS.html#a8da50eeba6469bc20d60ca0cf9a1307c">  125</a></span>&#160;    <a class="code" href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a>   <a class="code" href="structFATFS.html#a8da50eeba6469bc20d60ca0cf9a1307c">n_fatent</a>;       <span class="comment">/* Number of FAT entries (number of clusters + 2) */</span></div><div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="structFATFS.html#a53e9560659f14e66f306c2c444198bf3">  126</a></span>&#160;    <a class="code" href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a>   <a class="code" href="structFATFS.html#a53e9560659f14e66f306c2c444198bf3">fsize</a>;          <span class="comment">/* Size of an FAT [sectors] */</span></div><div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="structFATFS.html#a8f0ca578755749d204f59dc83f1a7649">  127</a></span>&#160;    <a class="code" href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a>   <a class="code" href="structFATFS.html#a8f0ca578755749d204f59dc83f1a7649">volbase</a>;        <span class="comment">/* Volume base sector */</span></div><div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="structFATFS.html#a848fba02c4aabe02ef2984e578f33d64">  128</a></span>&#160;    <a class="code" href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a>   <a class="code" href="structFATFS.html#a848fba02c4aabe02ef2984e578f33d64">fatbase</a>;        <span class="comment">/* FAT base sector */</span></div><div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="structFATFS.html#a3f72fd998dbcce4652a85a81fe944bc4">  129</a></span>&#160;    <a class="code" href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a>   <a class="code" href="structFATFS.html#a3f72fd998dbcce4652a85a81fe944bc4">dirbase</a>;        <span class="comment">/* Root directory base sector/cluster */</span></div><div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="structFATFS.html#a5b6c0bc2e9fd2ae8ef714210a74a2d5d">  130</a></span>&#160;    <a class="code" href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a>   <a class="code" href="structFATFS.html#a5b6c0bc2e9fd2ae8ef714210a74a2d5d">database</a>;       <span class="comment">/* Data base sector */</span></div><div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="structFATFS.html#ac60e69c00e6bf7c25febfbac4dc1476b">  131</a></span>&#160;    <a class="code" href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a>   <a class="code" href="structFATFS.html#ac60e69c00e6bf7c25febfbac4dc1476b">winsect</a>;        <span class="comment">/* Current sector appearing in the win[] */</span></div><div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="structFATFS.html#a7cc35a593465e727ab87723c14610644">  132</a></span>&#160;    <a class="code" href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a>    win[<a class="code" href="ffconf_8h.html#ac271b697378912f17132cb9c7d0de024">_MAX_SS</a>];   <span class="comment">/* Disk access window for Directory, FAT (and file data at tiny cfg) */</span></div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;} <a class="code" href="structFATFS.html">FATFS</a>;</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;</div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;<span class="comment">/* Object ID and allocation information (_FDID) */</span></div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;</div><div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="struct__FDID.html">  139</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div><div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="struct__FDID.html#aefa4597d88e54bace32e6c15e11d9610">  140</a></span>&#160;    <a class="code" href="structFATFS.html">FATFS</a>*  <a class="code" href="struct__FDID.html#aefa4597d88e54bace32e6c15e11d9610">fs</a>;         <span class="comment">/* Pointer to the owner file system object */</span></div><div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="struct__FDID.html#a363d7bdab408418b911ac1502bc22ea6">  141</a></span>&#160;    <a class="code" href="integer_8h.html#a197942eefa7db30960ae396d68339b97">WORD</a>    <a class="code" href="struct__FDID.html#a363d7bdab408418b911ac1502bc22ea6">id</a>;         <span class="comment">/* Owner file system mount ID */</span></div><div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="struct__FDID.html#a6912cfc1ea914d7b68a18b846065d790">  142</a></span>&#160;    <a class="code" href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a>    <a class="code" href="struct__FDID.html#a6912cfc1ea914d7b68a18b846065d790">attr</a>;       <span class="comment">/* Object attribute */</span></div><div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="struct__FDID.html#a1a2ff09f2ef172772f4e7312070be708">  143</a></span>&#160;    <a class="code" href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a>    <a class="code" href="struct__FDID.html#a1a2ff09f2ef172772f4e7312070be708">stat</a>;       <span class="comment">/* Object chain status (b1-0: =0:not contiguous, =2:contiguous (no data on FAT), =3:got flagmented, b2:sub-directory stretched) */</span></div><div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="struct__FDID.html#ae2fbaaa31b5d12b333cb6d1ded099412">  144</a></span>&#160;    <a class="code" href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a>   <a class="code" href="struct__FDID.html#ae2fbaaa31b5d12b333cb6d1ded099412">sclust</a>;     <span class="comment">/* Object start cluster (0:no cluster or root directory) */</span></div><div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="struct__FDID.html#a27039b8d89a4a62efabab36e6b303819">  145</a></span>&#160;    FSIZE_t <a class="code" href="struct__FDID.html#a27039b8d89a4a62efabab36e6b303819">objsize</a>;    <span class="comment">/* Object size (valid when sclust != 0) */</span></div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;<span class="preprocessor">#if _FS_EXFAT</span></div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;    <a class="code" href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a>   n_cont;     <span class="comment">/* Size of coutiguous part, clusters - 1 (valid when stat == 3) */</span></div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;    <a class="code" href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a>   c_scl;      <span class="comment">/* Containing directory start cluster (valid when sclust != 0) */</span></div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;    <a class="code" href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a>   c_size;     <span class="comment">/* b31-b8:Size of containing directory, b7-b0: Chain status (valid when c_scl != 0) */</span></div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;    <a class="code" href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a>   c_ofs;      <span class="comment">/* Offset in the containing directory (valid when sclust != 0) */</span></div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;<span class="preprocessor">#if _FS_LOCK != 0</span></div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;    <a class="code" href="integer_8h.html#a36cb3b01d81ffd844bbbfb54003e06ec">UINT</a>    lockid;     <span class="comment">/* File lock ID origin from 1 (index of file semaphore table Files[]) */</span></div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;} <a class="code" href="struct__FDID.html">_FDID</a>;</div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;</div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;</div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;</div><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;<span class="comment">/* File object structure (FIL) */</span></div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;</div><div class="line"><a name="l00161"></a><span class="lineno"><a class="line" href="structFIL.html">  161</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div><div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="structFIL.html#ae7242545ea88ea2602484122ebe65fa3">  162</a></span>&#160;    <a class="code" href="struct__FDID.html">_FDID</a>   <a class="code" href="structFIL.html#ae7242545ea88ea2602484122ebe65fa3">obj</a>;            <span class="comment">/* Object identifier (must be the 1st member to detect invalid object pointer) */</span></div><div class="line"><a name="l00163"></a><span class="lineno"><a class="line" href="structFIL.html#ac409508881f5a16f2998ae675072b376">  163</a></span>&#160;    <a class="code" href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a>    <a class="code" href="structFIL.html#ac409508881f5a16f2998ae675072b376">flag</a>;           <span class="comment">/* File status flags */</span></div><div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="structFIL.html#aea440945db26de9c4a88065c0c887fda">  164</a></span>&#160;    <a class="code" href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a>    <a class="code" href="structFIL.html#aea440945db26de9c4a88065c0c887fda">err</a>;            <span class="comment">/* Abort flag (error code) */</span></div><div class="line"><a name="l00165"></a><span class="lineno"><a class="line" href="structFIL.html#a088b03ab2e02f82e10e17bdd938190a6">  165</a></span>&#160;    FSIZE_t <a class="code" href="structFIL.html#a088b03ab2e02f82e10e17bdd938190a6">fptr</a>;           <span class="comment">/* File read/write pointer (Zeroed on file open) */</span></div><div class="line"><a name="l00166"></a><span class="lineno"><a class="line" href="structFIL.html#aa41312aba551b9a6d1c9d3c8c7d2734b">  166</a></span>&#160;    <a class="code" href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a>   <a class="code" href="structFIL.html#aa41312aba551b9a6d1c9d3c8c7d2734b">clust</a>;          <span class="comment">/* Current cluster of fpter (invalid when fprt is 0) */</span></div><div class="line"><a name="l00167"></a><span class="lineno"><a class="line" href="structFIL.html#affec18b48fe716fdae6a60123fc61145">  167</a></span>&#160;    <a class="code" href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a>   <a class="code" href="structFIL.html#affec18b48fe716fdae6a60123fc61145">sect</a>;           <span class="comment">/* Sector number appearing in buf[] (0:invalid) */</span></div><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;<span class="preprocessor">#if !_FS_READONLY</span></div><div class="line"><a name="l00169"></a><span class="lineno"><a class="line" href="structFIL.html#ab203794f939ad4480e81dfa488770783">  169</a></span>&#160;    <a class="code" href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a>   <a class="code" href="structFIL.html#ab203794f939ad4480e81dfa488770783">dir_sect</a>;       <span class="comment">/* Sector number containing the directory entry */</span></div><div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="structFIL.html#a5af9e9fb312b629220eaf684dd28c4a9">  170</a></span>&#160;    <a class="code" href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a>*   <a class="code" href="structFIL.html#a5af9e9fb312b629220eaf684dd28c4a9">dir_ptr</a>;        <span class="comment">/* Pointer to the directory entry in the win[] */</span></div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;<span class="preprocessor">#if _USE_FASTSEEK</span></div><div class="line"><a name="l00173"></a><span class="lineno"><a class="line" href="structFIL.html#a28a30613d48cefcf9efbd334cd861fc8">  173</a></span>&#160;    <a class="code" href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a>*  <a class="code" href="structFIL.html#a28a30613d48cefcf9efbd334cd861fc8">cltbl</a>;          <span class="comment">/* Pointer to the cluster link map table (nulled on open, set by application) */</span></div><div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;<span class="preprocessor">#if !_FS_TINY</span></div><div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="structFIL.html#a7a95fb86588663e48309b5cded7e207b">  176</a></span>&#160;    <a class="code" href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a>    buf[<a class="code" href="ffconf_8h.html#ac271b697378912f17132cb9c7d0de024">_MAX_SS</a>];   <span class="comment">/* File private data read/write window */</span></div><div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;} <a class="code" href="structFIL.html">FIL</a>;</div><div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;</div><div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;</div><div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;</div><div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;<span class="comment">/* Directory object structure (DIR) */</span></div><div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;</div><div class="line"><a name="l00184"></a><span class="lineno"><a class="line" href="structDIR.html">  184</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div><div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="structDIR.html#a5a4848c51616bf4ad90518c211ca3bb3">  185</a></span>&#160;    <a class="code" href="struct__FDID.html">_FDID</a>   <a class="code" href="structDIR.html#a5a4848c51616bf4ad90518c211ca3bb3">obj</a>;            <span class="comment">/* Object identifier */</span></div><div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="structDIR.html#a0330e9554e1f38795debe4495156873e">  186</a></span>&#160;    <a class="code" href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a>   <a class="code" href="structDIR.html#a0330e9554e1f38795debe4495156873e">dptr</a>;           <span class="comment">/* Current read/write offset */</span></div><div class="line"><a name="l00187"></a><span class="lineno"><a class="line" href="structDIR.html#acfbb8ba2d6e73b6f999ceffd1857c190">  187</a></span>&#160;    <a class="code" href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a>   <a class="code" href="structDIR.html#acfbb8ba2d6e73b6f999ceffd1857c190">clust</a>;          <span class="comment">/* Current cluster */</span></div><div class="line"><a name="l00188"></a><span class="lineno"><a class="line" href="structDIR.html#ad01fcc812ed0dad11a593574336adc9e">  188</a></span>&#160;    <a class="code" href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a>   <a class="code" href="structDIR.html#ad01fcc812ed0dad11a593574336adc9e">sect</a>;           <span class="comment">/* Current sector */</span></div><div class="line"><a name="l00189"></a><span class="lineno"><a class="line" href="structDIR.html#a6c2a8c0cf2d55ae99775e93a16593449">  189</a></span>&#160;    <a class="code" href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a>*   <a class="code" href="structDIR.html#a6c2a8c0cf2d55ae99775e93a16593449">dir</a>;            <span class="comment">/* Pointer to the directory item in the win[] */</span></div><div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="structDIR.html#ad90d974c0e7640307598c586bf141b32">  190</a></span>&#160;    <a class="code" href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a>    fn[12];         <span class="comment">/* SFN (in/out) {body[8],ext[3],status[1]} */</span></div><div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;<span class="preprocessor">#if _USE_LFN != 0</span></div><div class="line"><a name="l00192"></a><span class="lineno"><a class="line" href="structDIR.html#afdb5d6302a88eaf5d43da0352ca2cc91">  192</a></span>&#160;    <a class="code" href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a>   <a class="code" href="structDIR.html#afdb5d6302a88eaf5d43da0352ca2cc91">blk_ofs</a>;        <span class="comment">/* Offset of current entry block being processed (0xFFFFFFFF:Invalid) */</span></div><div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;<span class="preprocessor">#if _USE_FIND</span></div><div class="line"><a name="l00195"></a><span class="lineno"><a class="line" href="structDIR.html#a1f636884096de91deb97f59209d60e96">  195</a></span>&#160;    <span class="keyword">const</span> TCHAR* <a class="code" href="structDIR.html#a1f636884096de91deb97f59209d60e96">pat</a>;       <span class="comment">/* Pointer to the name matching pattern */</span></div><div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;} <a class="code" href="structDIR.html">DIR</a>;</div><div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;</div><div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;</div><div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;</div><div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;<span class="comment">/* File information structure (FILINFO) */</span></div><div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;</div><div class="line"><a name="l00203"></a><span class="lineno"><a class="line" href="structFILINFO.html">  203</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div><div class="line"><a name="l00204"></a><span class="lineno"><a class="line" href="structFILINFO.html#a9e5b78ed7190f73de3ebcbdfbd6d1844">  204</a></span>&#160;    FSIZE_t <a class="code" href="structFILINFO.html#a9e5b78ed7190f73de3ebcbdfbd6d1844">fsize</a>;          <span class="comment">/* File size */</span></div><div class="line"><a name="l00205"></a><span class="lineno"><a class="line" href="structFILINFO.html#a7c01c48a15b1b49da459924437b0bd52">  205</a></span>&#160;    <a class="code" href="integer_8h.html#a197942eefa7db30960ae396d68339b97">WORD</a>    <a class="code" href="structFILINFO.html#a7c01c48a15b1b49da459924437b0bd52">fdate</a>;          <span class="comment">/* Modified date */</span></div><div class="line"><a name="l00206"></a><span class="lineno"><a class="line" href="structFILINFO.html#ae0f751b79621bf7b29669f177bbe6b9a">  206</a></span>&#160;    <a class="code" href="integer_8h.html#a197942eefa7db30960ae396d68339b97">WORD</a>    <a class="code" href="structFILINFO.html#ae0f751b79621bf7b29669f177bbe6b9a">ftime</a>;          <span class="comment">/* Modified time */</span></div><div class="line"><a name="l00207"></a><span class="lineno"><a class="line" href="structFILINFO.html#a838d542585831b085537b363f18205c0">  207</a></span>&#160;    <a class="code" href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a>    <a class="code" href="structFILINFO.html#a838d542585831b085537b363f18205c0">fattrib</a>;        <span class="comment">/* File attribute */</span></div><div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;<span class="preprocessor">#if _USE_LFN != 0</span></div><div class="line"><a name="l00209"></a><span class="lineno"><a class="line" href="structFILINFO.html#a37243296fadacbde8500b5668d99682e">  209</a></span>&#160;    TCHAR   altname[13];            <span class="comment">/* Altenative file name */</span></div><div class="line"><a name="l00210"></a><span class="lineno"><a class="line" href="structFILINFO.html#a7c3ce2dd03dc9a9726967fc43116079f">  210</a></span>&#160;    TCHAR   fname[<a class="code" href="ffconf_8h.html#a14e73a5c703a586c614b3e40b849f82c">_MAX_LFN</a> + 1];    <span class="comment">/* Primary file name */</span></div><div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;    TCHAR   fname[13];      <span class="comment">/* File name */</span></div><div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;} <a class="code" href="structFILINFO.html">FILINFO</a>;</div><div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;</div><div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;</div><div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;</div><div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;<span class="comment">/* File function return code (FRESULT) */</span></div><div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;</div><div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44c">  220</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div><div class="line"><a name="l00221"></a><span class="lineno"><a class="line" href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44ca62fce5cd9df008f8fc85f99706bda5f1">  221</a></span>&#160;    <a class="code" href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44ca62fce5cd9df008f8fc85f99706bda5f1">FR_OK</a> = 0,              <span class="comment">/* (0) Succeeded */</span></div><div class="line"><a name="l00222"></a><span class="lineno"><a class="line" href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44ca97dee4a6b485dc8f91f37486092dfe34">  222</a></span>&#160;    <a class="code" href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44ca97dee4a6b485dc8f91f37486092dfe34">FR_DISK_ERR</a>,            <span class="comment">/* (1) A hard error occurred in the low level disk I/O layer */</span></div><div class="line"><a name="l00223"></a><span class="lineno"><a class="line" href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44cab6c9903af6e9bffbb7a288705f4a6a76">  223</a></span>&#160;    <a class="code" href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44cab6c9903af6e9bffbb7a288705f4a6a76">FR_INT_ERR</a>,             <span class="comment">/* (2) Assertion failed */</span></div><div class="line"><a name="l00224"></a><span class="lineno"><a class="line" href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44cac9894bed3e8632ede8d2712235fa8e45">  224</a></span>&#160;    <a class="code" href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44cac9894bed3e8632ede8d2712235fa8e45">FR_NOT_READY</a>,           <span class="comment">/* (3) The physical drive cannot work */</span></div><div class="line"><a name="l00225"></a><span class="lineno"><a class="line" href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44ca97da8f98fc2e66d8fa7847f9ebb19b8c">  225</a></span>&#160;    <a class="code" href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44ca97da8f98fc2e66d8fa7847f9ebb19b8c">FR_NO_FILE</a>,             <span class="comment">/* (4) Could not find the file */</span></div><div class="line"><a name="l00226"></a><span class="lineno"><a class="line" href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44cae4529c8cc8b59783d6efc9ba4f574532">  226</a></span>&#160;    <a class="code" href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44cae4529c8cc8b59783d6efc9ba4f574532">FR_NO_PATH</a>,             <span class="comment">/* (5) Could not find the path */</span></div><div class="line"><a name="l00227"></a><span class="lineno"><a class="line" href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44ca83e45a4b579558c57192c0a391b9bb45">  227</a></span>&#160;    <a class="code" href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44ca83e45a4b579558c57192c0a391b9bb45">FR_INVALID_NAME</a>,        <span class="comment">/* (6) The path name format is invalid */</span></div><div class="line"><a name="l00228"></a><span class="lineno"><a class="line" href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44ca897e9f2dd7629a80f48af242d8bc1a3d">  228</a></span>&#160;    <a class="code" href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44ca897e9f2dd7629a80f48af242d8bc1a3d">FR_DENIED</a>,              <span class="comment">/* (7) Access denied due to prohibited access or directory full */</span></div><div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44ca0d8f024d256df76e84782b95018a2450">  229</a></span>&#160;    <a class="code" href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44ca0d8f024d256df76e84782b95018a2450">FR_EXIST</a>,               <span class="comment">/* (8) Access denied due to prohibited access */</span></div><div class="line"><a name="l00230"></a><span class="lineno"><a class="line" href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44ca3dec4eba481cdf5e99d7cd6009e6dcf8">  230</a></span>&#160;    <a class="code" href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44ca3dec4eba481cdf5e99d7cd6009e6dcf8">FR_INVALID_OBJECT</a>,      <span class="comment">/* (9) The file/directory object is invalid */</span></div><div class="line"><a name="l00231"></a><span class="lineno"><a class="line" href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44cac3afbb423b1d4497229416812aff383b">  231</a></span>&#160;    <a class="code" href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44cac3afbb423b1d4497229416812aff383b">FR_WRITE_PROTECTED</a>,     <span class="comment">/* (10) The physical drive is write protected */</span></div><div class="line"><a name="l00232"></a><span class="lineno"><a class="line" href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44ca487844af77de15f6932a3b41ef3a2d65">  232</a></span>&#160;    <a class="code" href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44ca487844af77de15f6932a3b41ef3a2d65">FR_INVALID_DRIVE</a>,       <span class="comment">/* (11) The logical drive number is invalid */</span></div><div class="line"><a name="l00233"></a><span class="lineno"><a class="line" href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44cafc56605c68aaffab4a428339a8bd600d">  233</a></span>&#160;    <a class="code" href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44cafc56605c68aaffab4a428339a8bd600d">FR_NOT_ENABLED</a>,         <span class="comment">/* (12) The volume has no work area */</span></div><div class="line"><a name="l00234"></a><span class="lineno"><a class="line" href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44ca086154b5fee763f28c49fd0e2c1cb463">  234</a></span>&#160;    <a class="code" href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44ca086154b5fee763f28c49fd0e2c1cb463">FR_NO_FILESYSTEM</a>,       <span class="comment">/* (13) There is no valid FAT volume */</span></div><div class="line"><a name="l00235"></a><span class="lineno"><a class="line" href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44ca4b02760f758f5b1a89f445244fe9fbca">  235</a></span>&#160;    <a class="code" href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44ca4b02760f758f5b1a89f445244fe9fbca">FR_MKFS_ABORTED</a>,        <span class="comment">/* (14) The f_mkfs() aborted due to any problem */</span></div><div class="line"><a name="l00236"></a><span class="lineno"><a class="line" href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44ca3f8ca7e51af8b129d14328de7243c5d4">  236</a></span>&#160;    <a class="code" href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44ca3f8ca7e51af8b129d14328de7243c5d4">FR_TIMEOUT</a>,             <span class="comment">/* (15) Could not get a grant to access the volume within defined period */</span></div><div class="line"><a name="l00237"></a><span class="lineno"><a class="line" href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44ca7db5afaaa2af591bd4a208b2967075d7">  237</a></span>&#160;    <a class="code" href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44ca7db5afaaa2af591bd4a208b2967075d7">FR_LOCKED</a>,              <span class="comment">/* (16) The operation is rejected according to the file sharing policy */</span></div><div class="line"><a name="l00238"></a><span class="lineno"><a class="line" href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44caf56a76a86602cbdeb2c4f3d00cfad21c">  238</a></span>&#160;    <a class="code" href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44caf56a76a86602cbdeb2c4f3d00cfad21c">FR_NOT_ENOUGH_CORE</a>,     <span class="comment">/* (17) LFN working buffer could not be allocated */</span></div><div class="line"><a name="l00239"></a><span class="lineno"><a class="line" href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44ca50dd3c3c274ccebb2cfbddde9d065bb9">  239</a></span>&#160;    <a class="code" href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44ca50dd3c3c274ccebb2cfbddde9d065bb9">FR_TOO_MANY_OPEN_FILES</a>, <span class="comment">/* (18) Number of open files &gt; _FS_LOCK */</span></div><div class="line"><a name="l00240"></a><span class="lineno"><a class="line" href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44ca3b89faeceab64db277d0fcdeaaa315d6">  240</a></span>&#160;    <a class="code" href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44ca3b89faeceab64db277d0fcdeaaa315d6">FR_INVALID_PARAMETER</a>    <span class="comment">/* (19) Given parameter is invalid */</span></div><div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;} <a class="code" href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44c">FRESULT</a>;</div><div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;</div><div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;</div><div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;</div><div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;<span class="comment">/*--------------------------------------------------------------*/</span></div><div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;<span class="comment">/* FatFs module application interface                           */</span></div><div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;</div><div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;FRESULT <a class="code" href="ff_8h.html#aefdef7126128d99d0b3bd82c28e54d80">f_open</a> (<a class="code" href="structFIL.html">FIL</a>* fp, <span class="keyword">const</span> TCHAR* path, <a class="code" href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a> mode);             <span class="comment">/* Open or create a file */</span></div><div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;FRESULT <a class="code" href="ff_8h.html#a53882db20ef4323dcfd1874d7733ffc3">f_close</a> (<a class="code" href="structFIL.html">FIL</a>* fp);                                          <span class="comment">/* Close an open file object */</span></div><div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;FRESULT <a class="code" href="ff_8h.html#ac4c3dcb6869ca252888eebabe39727b3">f_read</a> (<a class="code" href="structFIL.html">FIL</a>* fp, <span class="keywordtype">void</span>* buff, <a class="code" href="integer_8h.html#a36cb3b01d81ffd844bbbfb54003e06ec">UINT</a> btr, <a class="code" href="integer_8h.html#a36cb3b01d81ffd844bbbfb54003e06ec">UINT</a>* br);           <span class="comment">/* Read data from the file */</span></div><div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;FRESULT <a class="code" href="ff_8h.html#ae6a4dfae8a9e308bdb2283a37ef680f2">f_write</a> (<a class="code" href="structFIL.html">FIL</a>* fp, <span class="keyword">const</span> <span class="keywordtype">void</span>* buff, <a class="code" href="integer_8h.html#a36cb3b01d81ffd844bbbfb54003e06ec">UINT</a> btw, <a class="code" href="integer_8h.html#a36cb3b01d81ffd844bbbfb54003e06ec">UINT</a>* bw);    <span class="comment">/* Write data to the file */</span></div><div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;FRESULT <a class="code" href="ff_8h.html#a7c4bcf81d9122f0b5376852ec6a8c3eb">f_lseek</a> (<a class="code" href="structFIL.html">FIL</a>* fp, FSIZE_t ofs);                             <span class="comment">/* Move file pointer of the file object */</span></div><div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;FRESULT <a class="code" href="ff_8h.html#a691a27b40c348f7c84b42e911636f38a">f_truncate</a> (<a class="code" href="structFIL.html">FIL</a>* fp);                                       <span class="comment">/* Truncate the file */</span></div><div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;FRESULT <a class="code" href="ff_8h.html#ad69c7246b122ba56a134939ee0eaf847">f_sync</a> (<a class="code" href="structFIL.html">FIL</a>* fp);                                           <span class="comment">/* Flush cached data of the writing file */</span></div><div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;FRESULT <a class="code" href="ff_8h.html#ab63b213c75f7335fbb63a1f3f70e5fc7">f_opendir</a> (<a class="code" href="structDIR.html">DIR</a>* dp, <span class="keyword">const</span> TCHAR* path);                     <span class="comment">/* Open a directory */</span></div><div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;FRESULT <a class="code" href="ff_8h.html#ab5f7376b6f3e3bcc7f5ff5497c8b7364">f_closedir</a> (<a class="code" href="structDIR.html">DIR</a>* dp);                                       <span class="comment">/* Close an open directory */</span></div><div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;FRESULT <a class="code" href="ff_8h.html#ab39e82a110695de45f416f3149358012">f_readdir</a> (<a class="code" href="structDIR.html">DIR</a>* dp, <a class="code" href="structFILINFO.html">FILINFO</a>* fno);                          <span class="comment">/* Read a directory item */</span></div><div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;FRESULT <a class="code" href="ff_8h.html#a6db7bc3d037b51a9f205eacda6177a5f">f_findfirst</a> (<a class="code" href="structDIR.html">DIR</a>* dp, <a class="code" href="structFILINFO.html">FILINFO</a>* fno, <span class="keyword">const</span> TCHAR* path, <span class="keyword">const</span> TCHAR* pattern);   <span class="comment">/* Find first file */</span></div><div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;FRESULT <a class="code" href="ff_8h.html#a013999e446481a607316b916441f8673">f_findnext</a> (<a class="code" href="structDIR.html">DIR</a>* dp, <a class="code" href="structFILINFO.html">FILINFO</a>* fno);                         <span class="comment">/* Find next file */</span></div><div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;FRESULT <a class="code" href="ff_8h.html#a4b4d38db58e89c526cfcf53200d719d0">f_mkdir</a> (<span class="keyword">const</span> TCHAR* path);                                <span class="comment">/* Create a sub directory */</span></div><div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;FRESULT <a class="code" href="ff_8h.html#a2858167fcd0bced48e9be434b3895efe">f_unlink</a> (<span class="keyword">const</span> TCHAR* path);                               <span class="comment">/* Delete an existing file or directory */</span></div><div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;FRESULT <a class="code" href="ff_8h.html#aa775b9b024acfeb3a66523cab497d142">f_rename</a> (<span class="keyword">const</span> TCHAR* path_old, <span class="keyword">const</span> TCHAR* path_new);    <span class="comment">/* Rename/Move a file or directory */</span></div><div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;FRESULT <a class="code" href="ff_8h.html#abe1f60daab5c7d11170c334fb832c798">f_stat</a> (<span class="keyword">const</span> TCHAR* path, <a class="code" href="structFILINFO.html">FILINFO</a>* fno);                   <span class="comment">/* Get file status */</span></div><div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;FRESULT <a class="code" href="ff_8h.html#a9ee7e560eec8d82755c636ae41e702cd">f_chmod</a> (<span class="keyword">const</span> TCHAR* path, <a class="code" href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a> attr, <a class="code" href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a> mask);          <span class="comment">/* Change attribute of a file/dir */</span></div><div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;FRESULT <a class="code" href="ff_8h.html#aafaa718d1a487e12a8f0087173dba0b9">f_utime</a> (<span class="keyword">const</span> TCHAR* path, <span class="keyword">const</span> <a class="code" href="structFILINFO.html">FILINFO</a>* fno);            <span class="comment">/* Change timestamp of a file/dir */</span></div><div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;FRESULT <a class="code" href="ff_8h.html#a53c7e9a7fb3c279254cd2d0445667e2f">f_chdir</a> (<span class="keyword">const</span> TCHAR* path);                                <span class="comment">/* Change current directory */</span></div><div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;FRESULT <a class="code" href="ff_8h.html#a13e5933f851b436890361189f64261cd">f_chdrive</a> (<span class="keyword">const</span> TCHAR* path);                              <span class="comment">/* Change current drive */</span></div><div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;FRESULT <a class="code" href="ff_8h.html#acb865a03dbac0031ac5cb8a031f7b71c">f_getcwd</a> (TCHAR* buff, <a class="code" href="integer_8h.html#a36cb3b01d81ffd844bbbfb54003e06ec">UINT</a> len);                           <span class="comment">/* Get current directory */</span></div><div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;FRESULT <a class="code" href="ff_8h.html#a0ff39f75a87cbda9cd6ea65d83f16cec">f_getfree</a> (<span class="keyword">const</span> TCHAR* path, <a class="code" href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a>* nclst, <a class="code" href="structFATFS.html">FATFS</a>** fatfs); <span class="comment">/* Get number of free clusters on the drive */</span></div><div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;FRESULT <a class="code" href="ff_8h.html#ac4ff40a674bcbfe40d81b1e8e54befc6">f_getlabel</a> (<span class="keyword">const</span> TCHAR* path, TCHAR* label, <a class="code" href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a>* vsn);   <span class="comment">/* Get volume label */</span></div><div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;FRESULT <a class="code" href="ff_8h.html#aa82bca64e28bc0d656a7999dd0eadec7">f_setlabel</a> (<span class="keyword">const</span> TCHAR* label);                            <span class="comment">/* Set volume label */</span></div><div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;FRESULT <a class="code" href="ff_8h.html#a6c0c4cd695704aa6d952c90be81d9849">f_forward</a> (<a class="code" href="structFIL.html">FIL</a>* fp, <a class="code" href="integer_8h.html#a36cb3b01d81ffd844bbbfb54003e06ec">UINT</a>(*func)(<span class="keyword">const</span> <a class="code" href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a>*,<a class="code" href="integer_8h.html#a36cb3b01d81ffd844bbbfb54003e06ec">UINT</a>), <a class="code" href="integer_8h.html#a36cb3b01d81ffd844bbbfb54003e06ec">UINT</a> btf, <a class="code" href="integer_8h.html#a36cb3b01d81ffd844bbbfb54003e06ec">UINT</a>* bf); <span class="comment">/* Forward data to the stream */</span></div><div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;FRESULT <a class="code" href="ff_8h.html#a456e5ccf09f62138797214f41fdb2a47">f_expand</a> (<a class="code" href="structFIL.html">FIL</a>* fp, FSIZE_t szf, <a class="code" href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a> opt);                  <span class="comment">/* Allocate a contiguous block to the file */</span></div><div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;FRESULT <a class="code" href="ff_8h.html#a16a934c2bbfa2160295810adc49d5509">f_mount</a> (<a class="code" href="structFATFS.html">FATFS</a>* fs, <span class="keyword">const</span> TCHAR* path, <a class="code" href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a> opt);           <span class="comment">/* Mount/Unmount a logical drive */</span></div><div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;FRESULT <a class="code" href="ff_8h.html#a3c19f5e631c0b09078898401909a23ce">f_mkfs</a> (<span class="keyword">const</span> TCHAR* path, <a class="code" href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a> opt, <a class="code" href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a> au, <span class="keywordtype">void</span>* work, <a class="code" href="integer_8h.html#a36cb3b01d81ffd844bbbfb54003e06ec">UINT</a> len);   <span class="comment">/* Create a FAT volume */</span></div><div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;FRESULT <a class="code" href="ff_8h.html#a687c96ed086ef041b11b0dbd4dc79e4d">f_fdisk</a> (<a class="code" href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a> pdrv, <span class="keyword">const</span> <a class="code" href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a>* szt, <span class="keywordtype">void</span>* work);          <span class="comment">/* Divide a physical drive into some partitions */</span></div><div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;<span class="keywordtype">int</span> <a class="code" href="ff_8h.html#ad1d73b8d01c2ef89eddf920b7fcc6beb">f_putc</a> (TCHAR c, <a class="code" href="structFIL.html">FIL</a>* fp);                                      <span class="comment">/* Put a character to the file */</span></div><div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;<span class="keywordtype">int</span> <a class="code" href="ff_8h.html#a699fc03ffa785ceab8812a7f204421f3">f_puts</a> (<span class="keyword">const</span> TCHAR* str, <a class="code" href="structFIL.html">FIL</a>* cp);                             <span class="comment">/* Put a string to the file */</span></div><div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;<span class="keywordtype">int</span> <a class="code" href="ff_8h.html#a4ce26253177c167df849e76f69b5c66c">f_printf</a> (<a class="code" href="structFIL.html">FIL</a>* fp, <span class="keyword">const</span> TCHAR* str, ...);                      <span class="comment">/* Put a formatted string to the file */</span></div><div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;TCHAR* <a class="code" href="ff_8h.html#a0fa54bd310785ecdaed19dda8f60dac5">f_gets</a> (TCHAR* buff, <span class="keywordtype">int</span> len, <a class="code" href="structFIL.html">FIL</a>* fp);                      <span class="comment">/* Get a string from the file */</span></div><div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;</div><div class="line"><a name="l00282"></a><span class="lineno"><a class="line" href="ff_8h.html#a970cdd8970a3a94967ad64cfc5d4c161">  282</a></span>&#160;<span class="preprocessor">#define f_eof(fp) ((int)((fp)-&gt;fptr == (fp)-&gt;obj.objsize))</span></div><div class="line"><a name="l00283"></a><span class="lineno"><a class="line" href="ff_8h.html#a25cbdabeed318802cf0e9db6671a33b7">  283</a></span>&#160;<span class="preprocessor">#define f_error(fp) ((fp)-&gt;err)</span></div><div class="line"><a name="l00284"></a><span class="lineno"><a class="line" href="ff_8h.html#a5e1daca7ce13cdc277e42185f7f9124f">  284</a></span>&#160;<span class="preprocessor">#define f_tell(fp) ((fp)-&gt;fptr)</span></div><div class="line"><a name="l00285"></a><span class="lineno"><a class="line" href="ff_8h.html#a26f33722c5bf1aa3cd6f0290a83eb2bc">  285</a></span>&#160;<span class="preprocessor">#define f_size(fp) ((fp)-&gt;obj.objsize)</span></div><div class="line"><a name="l00286"></a><span class="lineno"><a class="line" href="ff_8h.html#ae4caf47dd5cbc123b61d35542481b1be">  286</a></span>&#160;<span class="preprocessor">#define f_rewind(fp) f_lseek((fp), 0)</span></div><div class="line"><a name="l00287"></a><span class="lineno"><a class="line" href="ff_8h.html#a3f92b6c0c1648de678283ab6f1610161">  287</a></span>&#160;<span class="preprocessor">#define f_rewinddir(dp) f_readdir((dp), 0)</span></div><div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;</div><div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;<span class="preprocessor">#ifndef EOF</span></div><div class="line"><a name="l00290"></a><span class="lineno"><a class="line" href="ff_8h.html#a59adc4c82490d23754cd39c2fb99b0da">  290</a></span>&#160;<span class="preprocessor">#define EOF (-1)</span></div><div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;</div><div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;</div><div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;</div><div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;</div><div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;<span class="comment">/*--------------------------------------------------------------*/</span></div><div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;<span class="comment">/* Additional user defined functions                            */</span></div><div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;</div><div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;<span class="comment">/* RTC function */</span></div><div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;<span class="preprocessor">#if !_FS_READONLY &amp;&amp; !_FS_NORTC</span></div><div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;<a class="code" href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a> <a class="code" href="ff_8h.html#af58b536abfd30f77213f4ecaf2ac52f5">get_fattime</a> (<span class="keywordtype">void</span>);</div><div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;</div><div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;<span class="comment">/* Unicode support functions */</span></div><div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;<span class="preprocessor">#if _USE_LFN != 0                       </span><span class="comment">/* Unicode - OEM code conversion */</span><span class="preprocessor"></span></div><div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;<a class="code" href="integer_8h.html#a570001c92f314285ad3e7139d8c58cf7">WCHAR</a> <a class="code" href="ff_8h.html#ae5146230b88ddb4a6a69340e0fd1eabd">ff_convert</a> (<a class="code" href="integer_8h.html#a570001c92f314285ad3e7139d8c58cf7">WCHAR</a> chr, <a class="code" href="integer_8h.html#a36cb3b01d81ffd844bbbfb54003e06ec">UINT</a> dir); <span class="comment">/* OEM-Unicode bidirectional conversion */</span></div><div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;<a class="code" href="integer_8h.html#a570001c92f314285ad3e7139d8c58cf7">WCHAR</a> <a class="code" href="ff_8h.html#af3555c2976dfadc4f1e5cbacc275a012">ff_wtoupper</a> (<a class="code" href="integer_8h.html#a570001c92f314285ad3e7139d8c58cf7">WCHAR</a> chr);          <span class="comment">/* Unicode upper-case conversion */</span></div><div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;<span class="preprocessor">#if _USE_LFN == 3                       </span><span class="comment">/* Memory functions */</span><span class="preprocessor"></span></div><div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;<span class="keywordtype">void</span>* <a class="code" href="ff_8h.html#a917ffbec1c231c16e2b1baac2f69d876">ff_memalloc</a> (<a class="code" href="integer_8h.html#a36cb3b01d81ffd844bbbfb54003e06ec">UINT</a> msize);         <span class="comment">/* Allocate memory block */</span></div><div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;<span class="keywordtype">void</span> <a class="code" href="ff_8h.html#ab85fd090c8b8b17846ccc1e8cda16a9b">ff_memfree</a> (<span class="keywordtype">void</span>* mblock);         <span class="comment">/* Free memory block */</span></div><div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;</div><div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;<span class="comment">/* Sync functions */</span></div><div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;<span class="preprocessor">#if _FS_REENTRANT</span></div><div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;<span class="keywordtype">int</span> ff_cre_syncobj (<a class="code" href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a> vol, <a class="code" href="ffconf_8h.html#a9a3f0670343e51652dd12b18fa90a9eb">_SYNC_t</a>* sobj);   <span class="comment">/* Create a sync object */</span></div><div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;<span class="keywordtype">int</span> ff_req_grant (<a class="code" href="ffconf_8h.html#a9a3f0670343e51652dd12b18fa90a9eb">_SYNC_t</a> sobj);                <span class="comment">/* Lock sync object */</span></div><div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;<span class="keywordtype">void</span> ff_rel_grant (<a class="code" href="ffconf_8h.html#a9a3f0670343e51652dd12b18fa90a9eb">_SYNC_t</a> sobj);               <span class="comment">/* Unlock sync object */</span></div><div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;<span class="keywordtype">int</span> ff_del_syncobj (<a class="code" href="ffconf_8h.html#a9a3f0670343e51652dd12b18fa90a9eb">_SYNC_t</a> sobj);              <span class="comment">/* Delete a sync object */</span></div><div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;</div><div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;</div><div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;</div><div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;</div><div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;<span class="comment">/*--------------------------------------------------------------*/</span></div><div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;<span class="comment">/* Flags and offset address                                     */</span></div><div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;</div><div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;</div><div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160;<span class="comment">/* File access mode and open method flags (3rd argument of f_open) */</span></div><div class="line"><a name="l00330"></a><span class="lineno"><a class="line" href="ff_8h.html#a1f4f3530ff03abbd979b072536e72290">  330</a></span>&#160;<span class="preprocessor">#define FA_READ             0x01</span></div><div class="line"><a name="l00331"></a><span class="lineno"><a class="line" href="ff_8h.html#afa366963220c89b882c0361794020c14">  331</a></span>&#160;<span class="preprocessor">#define FA_WRITE            0x02</span></div><div class="line"><a name="l00332"></a><span class="lineno"><a class="line" href="ff_8h.html#a0c5dd686b10f84c2a2b3954957a5979a">  332</a></span>&#160;<span class="preprocessor">#define FA_OPEN_EXISTING    0x00</span></div><div class="line"><a name="l00333"></a><span class="lineno"><a class="line" href="ff_8h.html#a417bb1babd1785fd181a806b5613eba3">  333</a></span>&#160;<span class="preprocessor">#define FA_CREATE_NEW       0x04</span></div><div class="line"><a name="l00334"></a><span class="lineno"><a class="line" href="ff_8h.html#afba4546b131dea4b24727fa20a80e29f">  334</a></span>&#160;<span class="preprocessor">#define FA_CREATE_ALWAYS    0x08</span></div><div class="line"><a name="l00335"></a><span class="lineno"><a class="line" href="ff_8h.html#a17b01553029920ac0468912b4bcb16c7">  335</a></span>&#160;<span class="preprocessor">#define FA_OPEN_ALWAYS      0x10</span></div><div class="line"><a name="l00336"></a><span class="lineno"><a class="line" href="ff_8h.html#a90f135b2ae90fba5080f6bd2b6c57b8a">  336</a></span>&#160;<span class="preprocessor">#define FA_OPEN_APPEND      0x30</span></div><div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;</div><div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;<span class="comment">/* Fast seek controls (2nd argument of f_lseek) */</span></div><div class="line"><a name="l00339"></a><span class="lineno"><a class="line" href="ff_8h.html#aee297a9011164cf485a4df2a72758b08">  339</a></span>&#160;<span class="preprocessor">#define CREATE_LINKMAP  ((FSIZE_t)0 - 1)</span></div><div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;</div><div class="line"><a name="l00341"></a><span class="lineno">  341</span>&#160;<span class="comment">/* Format options (2nd argument of f_mkfs) */</span></div><div class="line"><a name="l00342"></a><span class="lineno"><a class="line" href="ff_8h.html#a8bd205b7d09147e55169d3713f46e9ea">  342</a></span>&#160;<span class="preprocessor">#define FM_FAT      0x01</span></div><div class="line"><a name="l00343"></a><span class="lineno"><a class="line" href="ff_8h.html#aff61d3ed8f8c6ea5c25c3cb366320e08">  343</a></span>&#160;<span class="preprocessor">#define FM_FAT32    0x02</span></div><div class="line"><a name="l00344"></a><span class="lineno"><a class="line" href="ff_8h.html#a9348c28116bc29e88195b23f6945f81d">  344</a></span>&#160;<span class="preprocessor">#define FM_EXFAT    0x04</span></div><div class="line"><a name="l00345"></a><span class="lineno"><a class="line" href="ff_8h.html#a701ab2eee8c2d9b5b445aadc8f14df4d">  345</a></span>&#160;<span class="preprocessor">#define FM_ANY      0x07</span></div><div class="line"><a name="l00346"></a><span class="lineno"><a class="line" href="ff_8h.html#a3b3d16ac135fe57669fc8a93dfa0c0a5">  346</a></span>&#160;<span class="preprocessor">#define FM_SFD      0x08</span></div><div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160;</div><div class="line"><a name="l00348"></a><span class="lineno">  348</span>&#160;<span class="comment">/* Filesystem type (FATFS.fs_type) */</span></div><div class="line"><a name="l00349"></a><span class="lineno"><a class="line" href="ff_8h.html#aab755aa1b4f81f4aabee4a5d4738cfb0">  349</a></span>&#160;<span class="preprocessor">#define FS_FAT12    1</span></div><div class="line"><a name="l00350"></a><span class="lineno"><a class="line" href="ff_8h.html#a7ef90a36d99edfc0138a2155a17a79b9">  350</a></span>&#160;<span class="preprocessor">#define FS_FAT16    2</span></div><div class="line"><a name="l00351"></a><span class="lineno"><a class="line" href="ff_8h.html#ac63e0796095a789cefdbc3c3c676c9ce">  351</a></span>&#160;<span class="preprocessor">#define FS_FAT32    3</span></div><div class="line"><a name="l00352"></a><span class="lineno"><a class="line" href="ff_8h.html#a50bfa912e87473bc54333523983f39f6">  352</a></span>&#160;<span class="preprocessor">#define FS_EXFAT    4</span></div><div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;</div><div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;<span class="comment">/* File attribute bits for directory entry (FILINFO.fattrib) */</span></div><div class="line"><a name="l00355"></a><span class="lineno"><a class="line" href="ff_8h.html#add6d85d1e7a02b4f6188783ef91a5f1e">  355</a></span>&#160;<span class="preprocessor">#define AM_RDO  0x01    </span><span class="comment">/* Read only */</span><span class="preprocessor"></span></div><div class="line"><a name="l00356"></a><span class="lineno"><a class="line" href="ff_8h.html#aa90c4c921c1955fd407d8bbf17f1674e">  356</a></span>&#160;<span class="preprocessor">#define AM_HID  0x02    </span><span class="comment">/* Hidden */</span><span class="preprocessor"></span></div><div class="line"><a name="l00357"></a><span class="lineno"><a class="line" href="ff_8h.html#a1f25d5c17b5a3a6397b3398add8cdc15">  357</a></span>&#160;<span class="preprocessor">#define AM_SYS  0x04    </span><span class="comment">/* System */</span><span class="preprocessor"></span></div><div class="line"><a name="l00358"></a><span class="lineno"><a class="line" href="ff_8h.html#a3a9db44e978ed6c13b641e092d4cd7d3">  358</a></span>&#160;<span class="preprocessor">#define AM_DIR  0x10    </span><span class="comment">/* Directory */</span><span class="preprocessor"></span></div><div class="line"><a name="l00359"></a><span class="lineno"><a class="line" href="ff_8h.html#ae8174d00798e34e7c9e95898cb9e1a09">  359</a></span>&#160;<span class="preprocessor">#define AM_ARC  0x20    </span><span class="comment">/* Archive */</span><span class="preprocessor"></span></div><div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160;</div><div class="line"><a name="l00361"></a><span class="lineno">  361</span>&#160;</div><div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00363"></a><span class="lineno">  363</span>&#160;}</div><div class="line"><a name="l00364"></a><span class="lineno">  364</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160;</div><div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* _FATFS */</span><span class="preprocessor"></span></div><div class="ttc" id="structFIL_html_a28a30613d48cefcf9efbd334cd861fc8"><div class="ttname"><a href="structFIL.html#a28a30613d48cefcf9efbd334cd861fc8">FIL::cltbl</a></div><div class="ttdeci">DWORD * cltbl</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00173">ff.h:173</a></div></div>
<div class="ttc" id="ff_8h_html_a13e5933f851b436890361189f64261cd"><div class="ttname"><a href="ff_8h.html#a13e5933f851b436890361189f64261cd">f_chdrive</a></div><div class="ttdeci">FRESULT f_chdrive(const TCHAR *path)</div></div>
<div class="ttc" id="ff_8h_html_a699fc03ffa785ceab8812a7f204421f3"><div class="ttname"><a href="ff_8h.html#a699fc03ffa785ceab8812a7f204421f3">f_puts</a></div><div class="ttdeci">int f_puts(const TCHAR *str, FIL *cp)</div><div class="ttdef"><b>Definition:</b> <a href="ff_8c_source.html#l06019">ff.c:6019</a></div></div>
<div class="ttc" id="integer_8h_html_a197942eefa7db30960ae396d68339b97"><div class="ttname"><a href="integer_8h.html#a197942eefa7db30960ae396d68339b97">WORD</a></div><div class="ttdeci">unsigned short WORD</div><div class="ttdef"><b>Definition:</b> <a href="integer_8h_source.html#l00026">integer.h:26</a></div></div>
<div class="ttc" id="integer_8h_html_a570001c92f314285ad3e7139d8c58cf7"><div class="ttname"><a href="integer_8h.html#a570001c92f314285ad3e7139d8c58cf7">WCHAR</a></div><div class="ttdeci">unsigned short WCHAR</div><div class="ttdef"><b>Definition:</b> <a href="integer_8h_source.html#l00027">integer.h:27</a></div></div>
<div class="ttc" id="structFATFS_html_a8da50eeba6469bc20d60ca0cf9a1307c"><div class="ttname"><a href="structFATFS.html#a8da50eeba6469bc20d60ca0cf9a1307c">FATFS::n_fatent</a></div><div class="ttdeci">DWORD n_fatent</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00125">ff.h:125</a></div></div>
<div class="ttc" id="structDIR_html_ad01fcc812ed0dad11a593574336adc9e"><div class="ttname"><a href="structDIR.html#ad01fcc812ed0dad11a593574336adc9e">DIR::sect</a></div><div class="ttdeci">DWORD sect</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00188">ff.h:188</a></div></div>
<div class="ttc" id="ff_8h_html_ad1d73b8d01c2ef89eddf920b7fcc6beb"><div class="ttname"><a href="ff_8h.html#ad1d73b8d01c2ef89eddf920b7fcc6beb">f_putc</a></div><div class="ttdeci">int f_putc(TCHAR c, FIL *fp)</div><div class="ttdef"><b>Definition:</b> <a href="ff_8c_source.html#l05998">ff.c:5998</a></div></div>
<div class="ttc" id="structDIR_html_a1f636884096de91deb97f59209d60e96"><div class="ttname"><a href="structDIR.html#a1f636884096de91deb97f59209d60e96">DIR::pat</a></div><div class="ttdeci">const TCHAR * pat</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00195">ff.h:195</a></div></div>
<div class="ttc" id="structFATFS_html_a5b6c0bc2e9fd2ae8ef714210a74a2d5d"><div class="ttname"><a href="structFATFS.html#a5b6c0bc2e9fd2ae8ef714210a74a2d5d">FATFS::database</a></div><div class="ttdeci">DWORD database</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00130">ff.h:130</a></div></div>
<div class="ttc" id="ffconf_8h_html_ac271b697378912f17132cb9c7d0de024"><div class="ttname"><a href="ffconf_8h.html#ac271b697378912f17132cb9c7d0de024">_MAX_SS</a></div><div class="ttdeci">#define _MAX_SS</div><div class="ttdef"><b>Definition:</b> <a href="ffconf_8h_source.html#l00184">ffconf.h:184</a></div></div>
<div class="ttc" id="structFILINFO_html_a7c01c48a15b1b49da459924437b0bd52"><div class="ttname"><a href="structFILINFO.html#a7c01c48a15b1b49da459924437b0bd52">FILINFO::fdate</a></div><div class="ttdeci">WORD fdate</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00205">ff.h:205</a></div></div>
<div class="ttc" id="structFILINFO_html"><div class="ttname"><a href="structFILINFO.html">FILINFO</a></div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00203">ff.h:203</a></div></div>
<div class="ttc" id="ff_8h_html_a49d0171ecbd362cda5680a0d360db44ca83e45a4b579558c57192c0a391b9bb45"><div class="ttname"><a href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44ca83e45a4b579558c57192c0a391b9bb45">FR_INVALID_NAME</a></div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00227">ff.h:227</a></div></div>
<div class="ttc" id="structDIR_html_afdb5d6302a88eaf5d43da0352ca2cc91"><div class="ttname"><a href="structDIR.html#afdb5d6302a88eaf5d43da0352ca2cc91">DIR::blk_ofs</a></div><div class="ttdeci">DWORD blk_ofs</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00192">ff.h:192</a></div></div>
<div class="ttc" id="ff_8h_html_a687c96ed086ef041b11b0dbd4dc79e4d"><div class="ttname"><a href="ff_8h.html#a687c96ed086ef041b11b0dbd4dc79e4d">f_fdisk</a></div><div class="ttdeci">FRESULT f_fdisk(BYTE pdrv, const DWORD *szt, void *work)</div></div>
<div class="ttc" id="structFATFS_html"><div class="ttname"><a href="structFATFS.html">FATFS</a></div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00092">ff.h:92</a></div></div>
<div class="ttc" id="structDIR_html_a0330e9554e1f38795debe4495156873e"><div class="ttname"><a href="structDIR.html#a0330e9554e1f38795debe4495156873e">DIR::dptr</a></div><div class="ttdeci">DWORD dptr</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00186">ff.h:186</a></div></div>
<div class="ttc" id="structFATFS_html_ac834248773bf338df807f0d7e6b6a579"><div class="ttname"><a href="structFATFS.html#ac834248773bf338df807f0d7e6b6a579">FATFS::free_clst</a></div><div class="ttdeci">DWORD free_clst</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00115">ff.h:115</a></div></div>
<div class="ttc" id="ff_8h_html_a7c4bcf81d9122f0b5376852ec6a8c3eb"><div class="ttname"><a href="ff_8h.html#a7c4bcf81d9122f0b5376852ec6a8c3eb">f_lseek</a></div><div class="ttdeci">FRESULT f_lseek(FIL *fp, FSIZE_t ofs)</div><div class="ttdef"><b>Definition:</b> <a href="ff_8c_source.html#l04000">ff.c:4000</a></div></div>
<div class="ttc" id="ff_8h_html_a16a934c2bbfa2160295810adc49d5509"><div class="ttname"><a href="ff_8h.html#a16a934c2bbfa2160295810adc49d5509">f_mount</a></div><div class="ttdeci">FRESULT f_mount(FATFS *fs, const TCHAR *path, BYTE opt)</div><div class="ttdef"><b>Definition:</b> <a href="ff_8c_source.html#l03255">ff.c:3255</a></div></div>
<div class="ttc" id="ff_8h_html_ac4ff40a674bcbfe40d81b1e8e54befc6"><div class="ttname"><a href="ff_8h.html#ac4ff40a674bcbfe40d81b1e8e54befc6">f_getlabel</a></div><div class="ttdeci">FRESULT f_getlabel(const TCHAR *path, TCHAR *label, DWORD *vsn)</div><div class="ttdef"><b>Definition:</b> <a href="ff_8c_source.html#l04915">ff.c:4915</a></div></div>
<div class="ttc" id="structFILINFO_html_ae0f751b79621bf7b29669f177bbe6b9a"><div class="ttname"><a href="structFILINFO.html#ae0f751b79621bf7b29669f177bbe6b9a">FILINFO::ftime</a></div><div class="ttdeci">WORD ftime</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00206">ff.h:206</a></div></div>
<div class="ttc" id="ff_8h_html_a3c19f5e631c0b09078898401909a23ce"><div class="ttname"><a href="ff_8h.html#a3c19f5e631c0b09078898401909a23ce">f_mkfs</a></div><div class="ttdeci">FRESULT f_mkfs(const TCHAR *path, BYTE opt, DWORD au, void *work, UINT len)</div><div class="ttdef"><b>Definition:</b> <a href="ff_8c_source.html#l05296">ff.c:5296</a></div></div>
<div class="ttc" id="structFIL_html_ac409508881f5a16f2998ae675072b376"><div class="ttname"><a href="structFIL.html#ac409508881f5a16f2998ae675072b376">FIL::flag</a></div><div class="ttdeci">BYTE flag</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00163">ff.h:163</a></div></div>
<div class="ttc" id="ff_8h_html_a03bdb8ce5895c7e261aadc2529637546"><div class="ttname"><a href="ff_8h.html#a03bdb8ce5895c7e261aadc2529637546">TCHAR</a></div><div class="ttdeci">char TCHAR</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00069">ff.h:69</a></div></div>
<div class="ttc" id="ff_8h_html_a49d0171ecbd362cda5680a0d360db44ca487844af77de15f6932a3b41ef3a2d65"><div class="ttname"><a href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44ca487844af77de15f6932a3b41ef3a2d65">FR_INVALID_DRIVE</a></div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00232">ff.h:232</a></div></div>
<div class="ttc" id="struct__FDID_html_a363d7bdab408418b911ac1502bc22ea6"><div class="ttname"><a href="struct__FDID.html#a363d7bdab408418b911ac1502bc22ea6">_FDID::id</a></div><div class="ttdeci">WORD id</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00141">ff.h:141</a></div></div>
<div class="ttc" id="ff_8h_html_a49d0171ecbd362cda5680a0d360db44ca897e9f2dd7629a80f48af242d8bc1a3d"><div class="ttname"><a href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44ca897e9f2dd7629a80f48af242d8bc1a3d">FR_DENIED</a></div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00228">ff.h:228</a></div></div>
<div class="ttc" id="ff_8h_html_a53c7e9a7fb3c279254cd2d0445667e2f"><div class="ttname"><a href="ff_8h.html#a53c7e9a7fb3c279254cd2d0445667e2f">f_chdir</a></div><div class="ttdeci">FRESULT f_chdir(const TCHAR *path)</div><div class="ttdef"><b>Definition:</b> <a href="ff_8c_source.html#l03866">ff.c:3866</a></div></div>
<div class="ttc" id="ff_8h_html_af3555c2976dfadc4f1e5cbacc275a012"><div class="ttname"><a href="ff_8h.html#af3555c2976dfadc4f1e5cbacc275a012">ff_wtoupper</a></div><div class="ttdeci">WCHAR ff_wtoupper(WCHAR chr)</div><div class="ttdef"><b>Definition:</b> <a href="ccsbcs_8c_source.html#l00303">ccsbcs.c:303</a></div></div>
<div class="ttc" id="ff_8h_html_a9ee7e560eec8d82755c636ae41e702cd"><div class="ttname"><a href="ff_8h.html#a9ee7e560eec8d82755c636ae41e702cd">f_chmod</a></div><div class="ttdeci">FRESULT f_chmod(const TCHAR *path, BYTE attr, BYTE mask)</div><div class="ttdef"><b>Definition:</b> <a href="ff_8c_source.html#l04823">ff.c:4823</a></div></div>
<div class="ttc" id="structDIR_html_a6c2a8c0cf2d55ae99775e93a16593449"><div class="ttname"><a href="structDIR.html#a6c2a8c0cf2d55ae99775e93a16593449">DIR::dir</a></div><div class="ttdeci">BYTE * dir</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00189">ff.h:189</a></div></div>
<div class="ttc" id="ff_8h_html_ab39e82a110695de45f416f3149358012"><div class="ttname"><a href="ff_8h.html#ab39e82a110695de45f416f3149358012">f_readdir</a></div><div class="ttdeci">FRESULT f_readdir(DIR *dp, FILINFO *fno)</div><div class="ttdef"><b>Definition:</b> <a href="ff_8c_source.html#l04260">ff.c:4260</a></div></div>
<div class="ttc" id="ff_8h_html_ac4c3dcb6869ca252888eebabe39727b3"><div class="ttname"><a href="ff_8h.html#ac4c3dcb6869ca252888eebabe39727b3">f_read</a></div><div class="ttdeci">FRESULT f_read(FIL *fp, void *buff, UINT btr, UINT *br)</div><div class="ttdef"><b>Definition:</b> <a href="ff_8c_source.html#l03506">ff.c:3506</a></div></div>
<div class="ttc" id="ff_8h_html_ae5146230b88ddb4a6a69340e0fd1eabd"><div class="ttname"><a href="ff_8h.html#ae5146230b88ddb4a6a69340e0fd1eabd">ff_convert</a></div><div class="ttdeci">WCHAR ff_convert(WCHAR chr, UINT dir)</div><div class="ttdef"><b>Definition:</b> <a href="ccsbcs_8c_source.html#l00275">ccsbcs.c:275</a></div></div>
<div class="ttc" id="ff_8h_html_a0ff39f75a87cbda9cd6ea65d83f16cec"><div class="ttname"><a href="ff_8h.html#a0ff39f75a87cbda9cd6ea65d83f16cec">f_getfree</a></div><div class="ttdeci">FRESULT f_getfree(const TCHAR *path, DWORD *nclst, FATFS **fatfs)</div><div class="ttdef"><b>Definition:</b> <a href="ff_8c_source.html#l04387">ff.c:4387</a></div></div>
<div class="ttc" id="structFATFS_html_add27d97babe807b573eac98a71dc4ae5"><div class="ttname"><a href="structFATFS.html#add27d97babe807b573eac98a71dc4ae5">FATFS::fs_type</a></div><div class="ttdeci">BYTE fs_type</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00093">ff.h:93</a></div></div>
<div class="ttc" id="ff_8h_html_a4b4d38db58e89c526cfcf53200d719d0"><div class="ttname"><a href="ff_8h.html#a4b4d38db58e89c526cfcf53200d719d0">f_mkdir</a></div><div class="ttdeci">FRESULT f_mkdir(const TCHAR *path)</div><div class="ttdef"><b>Definition:</b> <a href="ff_8c_source.html#l04622">ff.c:4622</a></div></div>
<div class="ttc" id="ff_8h_html_a49d0171ecbd362cda5680a0d360db44cab6c9903af6e9bffbb7a288705f4a6a76"><div class="ttname"><a href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44cab6c9903af6e9bffbb7a288705f4a6a76">FR_INT_ERR</a></div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00223">ff.h:223</a></div></div>
<div class="ttc" id="ff_8h_html_a53882db20ef4323dcfd1874d7733ffc3"><div class="ttname"><a href="ff_8h.html#a53882db20ef4323dcfd1874d7733ffc3">f_close</a></div><div class="ttdeci">FRESULT f_close(FIL *fp)</div><div class="ttdef"><b>Definition:</b> <a href="ff_8c_source.html#l03808">ff.c:3808</a></div></div>
<div class="ttc" id="structDIR_html"><div class="ttname"><a href="structDIR.html">DIR</a></div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00184">ff.h:184</a></div></div>
<div class="ttc" id="ff_8h_html_a49d0171ecbd362cda5680a0d360db44ca97dee4a6b485dc8f91f37486092dfe34"><div class="ttname"><a href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44ca97dee4a6b485dc8f91f37486092dfe34">FR_DISK_ERR</a></div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00222">ff.h:222</a></div></div>
<div class="ttc" id="integer_8h_html_ad342ac907eb044443153a22f964bf0af"><div class="ttname"><a href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a></div><div class="ttdeci">unsigned long DWORD</div><div class="ttdef"><b>Definition:</b> <a href="integer_8h_source.html#l00031">integer.h:31</a></div></div>
<div class="ttc" id="ff_8h_html_a49d0171ecbd362cda5680a0d360db44ca0d8f024d256df76e84782b95018a2450"><div class="ttname"><a href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44ca0d8f024d256df76e84782b95018a2450">FR_EXIST</a></div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00229">ff.h:229</a></div></div>
<div class="ttc" id="structDIR_html_a5a4848c51616bf4ad90518c211ca3bb3"><div class="ttname"><a href="structDIR.html#a5a4848c51616bf4ad90518c211ca3bb3">DIR::obj</a></div><div class="ttdeci">_FDID obj</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00185">ff.h:185</a></div></div>
<div class="ttc" id="ff_8h_html_a691a27b40c348f7c84b42e911636f38a"><div class="ttname"><a href="ff_8h.html#a691a27b40c348f7c84b42e911636f38a">f_truncate</a></div><div class="ttdeci">FRESULT f_truncate(FIL *fp)</div><div class="ttdef"><b>Definition:</b> <a href="ff_8c_source.html#l04475">ff.c:4475</a></div></div>
<div class="ttc" id="struct__FDID_html_a27039b8d89a4a62efabab36e6b303819"><div class="ttname"><a href="struct__FDID.html#a27039b8d89a4a62efabab36e6b303819">_FDID::objsize</a></div><div class="ttdeci">FSIZE_t objsize</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00145">ff.h:145</a></div></div>
<div class="ttc" id="ff_8h_html_a3fc0992ad7436250b6b1a0592214b7f2"><div class="ttname"><a href="ff_8h.html#a3fc0992ad7436250b6b1a0592214b7f2">FSIZE_t</a></div><div class="ttdeci">DWORD FSIZE_t</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00085">ff.h:85</a></div></div>
<div class="ttc" id="ff_8h_html_a6c0c4cd695704aa6d952c90be81d9849"><div class="ttname"><a href="ff_8h.html#a6c0c4cd695704aa6d952c90be81d9849">f_forward</a></div><div class="ttdeci">FRESULT f_forward(FIL *fp, UINT(*func)(const BYTE *, UINT), UINT btf, UINT *bf)</div></div>
<div class="ttc" id="ff_8h_html_a49d0171ecbd362cda5680a0d360db44ca97da8f98fc2e66d8fa7847f9ebb19b8c"><div class="ttname"><a href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44ca97da8f98fc2e66d8fa7847f9ebb19b8c">FR_NO_FILE</a></div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00225">ff.h:225</a></div></div>
<div class="ttc" id="integer_8h_html_a4ae1dab0fb4b072a66584546209e7d58"><div class="ttname"><a href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a></div><div class="ttdeci">unsigned char BYTE</div><div class="ttdef"><b>Definition:</b> <a href="integer_8h_source.html#l00022">integer.h:22</a></div></div>
<div class="ttc" id="structFATFS_html_a56716c7e7ac10cf46e73ffb2a2e9b545"><div class="ttname"><a href="structFATFS.html#a56716c7e7ac10cf46e73ffb2a2e9b545">FATFS::n_fats</a></div><div class="ttdeci">BYTE n_fats</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00095">ff.h:95</a></div></div>
<div class="ttc" id="structFATFS_html_ac60e69c00e6bf7c25febfbac4dc1476b"><div class="ttname"><a href="structFATFS.html#ac60e69c00e6bf7c25febfbac4dc1476b">FATFS::winsect</a></div><div class="ttdeci">DWORD winsect</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00131">ff.h:131</a></div></div>
<div class="ttc" id="ff_8h_html_ab5f7376b6f3e3bcc7f5ff5497c8b7364"><div class="ttname"><a href="ff_8h.html#ab5f7376b6f3e3bcc7f5ff5497c8b7364">f_closedir</a></div><div class="ttdeci">FRESULT f_closedir(DIR *dp)</div><div class="ttdef"><b>Definition:</b> <a href="ff_8c_source.html#l04226">ff.c:4226</a></div></div>
<div class="ttc" id="structFATFS_html_a848fba02c4aabe02ef2984e578f33d64"><div class="ttname"><a href="structFATFS.html#a848fba02c4aabe02ef2984e578f33d64">FATFS::fatbase</a></div><div class="ttdeci">DWORD fatbase</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00128">ff.h:128</a></div></div>
<div class="ttc" id="ff_8h_html_a49d0171ecbd362cda5680a0d360db44cae4529c8cc8b59783d6efc9ba4f574532"><div class="ttname"><a href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44cae4529c8cc8b59783d6efc9ba4f574532">FR_NO_PATH</a></div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00226">ff.h:226</a></div></div>
<div class="ttc" id="ff_8h_html_abe1f60daab5c7d11170c334fb832c798"><div class="ttname"><a href="ff_8h.html#abe1f60daab5c7d11170c334fb832c798">f_stat</a></div><div class="ttdeci">FRESULT f_stat(const TCHAR *path, FILINFO *fno)</div><div class="ttdef"><b>Definition:</b> <a href="ff_8c_source.html#l04351">ff.c:4351</a></div></div>
<div class="ttc" id="ff_8h_html_aa775b9b024acfeb3a66523cab497d142"><div class="ttname"><a href="ff_8h.html#aa775b9b024acfeb3a66523cab497d142">f_rename</a></div><div class="ttdeci">FRESULT f_rename(const TCHAR *path_old, const TCHAR *path_new)</div><div class="ttdef"><b>Definition:</b> <a href="ff_8c_source.html#l04716">ff.c:4716</a></div></div>
<div class="ttc" id="structFIL_html_ae7242545ea88ea2602484122ebe65fa3"><div class="ttname"><a href="structFIL.html#ae7242545ea88ea2602484122ebe65fa3">FIL::obj</a></div><div class="ttdeci">_FDID obj</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00162">ff.h:162</a></div></div>
<div class="ttc" id="ff_8h_html_ae6a4dfae8a9e308bdb2283a37ef680f2"><div class="ttname"><a href="ff_8h.html#ae6a4dfae8a9e308bdb2283a37ef680f2">f_write</a></div><div class="ttdeci">FRESULT f_write(FIL *fp, const void *buff, UINT btw, UINT *bw)</div><div class="ttdef"><b>Definition:</b> <a href="ff_8c_source.html#l03607">ff.c:3607</a></div></div>
<div class="ttc" id="structFATFS_html_ad1999aa771ae428c3abe14dbe585e981"><div class="ttname"><a href="structFATFS.html#ad1999aa771ae428c3abe14dbe585e981">FATFS::lfnbuf</a></div><div class="ttdeci">WCHAR * lfnbuf</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00105">ff.h:105</a></div></div>
<div class="ttc" id="ff_8h_html_a49d0171ecbd362cda5680a0d360db44c"><div class="ttname"><a href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44c">FRESULT</a></div><div class="ttdeci">FRESULT</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00220">ff.h:220</a></div></div>
<div class="ttc" id="struct__FDID_html_a1a2ff09f2ef172772f4e7312070be708"><div class="ttname"><a href="struct__FDID.html#a1a2ff09f2ef172772f4e7312070be708">_FDID::stat</a></div><div class="ttdeci">BYTE stat</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00143">ff.h:143</a></div></div>
<div class="ttc" id="ff_8h_html_a49d0171ecbd362cda5680a0d360db44cafc56605c68aaffab4a428339a8bd600d"><div class="ttname"><a href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44cafc56605c68aaffab4a428339a8bd600d">FR_NOT_ENABLED</a></div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00233">ff.h:233</a></div></div>
<div class="ttc" id="ff_8h_html_ad69c7246b122ba56a134939ee0eaf847"><div class="ttname"><a href="ff_8h.html#ad69c7246b122ba56a134939ee0eaf847">f_sync</a></div><div class="ttdeci">FRESULT f_sync(FIL *fp)</div><div class="ttdef"><b>Definition:</b> <a href="ff_8c_source.html#l03729">ff.c:3729</a></div></div>
<div class="ttc" id="ff_8h_html_aefdef7126128d99d0b3bd82c28e54d80"><div class="ttname"><a href="ff_8h.html#aefdef7126128d99d0b3bd82c28e54d80">f_open</a></div><div class="ttdeci">FRESULT f_open(FIL *fp, const TCHAR *path, BYTE mode)</div><div class="ttdef"><b>Definition:</b> <a href="ff_8c_source.html#l03304">ff.c:3304</a></div></div>
<div class="ttc" id="structFILINFO_html_a9e5b78ed7190f73de3ebcbdfbd6d1844"><div class="ttname"><a href="structFILINFO.html#a9e5b78ed7190f73de3ebcbdfbd6d1844">FILINFO::fsize</a></div><div class="ttdeci">FSIZE_t fsize</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00204">ff.h:204</a></div></div>
<div class="ttc" id="structFATFS_html_a417095d7c20d56d417dc0998e0dd5a5c"><div class="ttname"><a href="structFATFS.html#a417095d7c20d56d417dc0998e0dd5a5c">FATFS::id</a></div><div class="ttdeci">WORD id</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00098">ff.h:98</a></div></div>
<div class="ttc" id="structFATFS_html_a6a791560e2687e8b1569bfce61208d2d"><div class="ttname"><a href="structFATFS.html#a6a791560e2687e8b1569bfce61208d2d">FATFS::drv</a></div><div class="ttdeci">BYTE drv</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00094">ff.h:94</a></div></div>
<div class="ttc" id="ffconf_8h_html_a14e73a5c703a586c614b3e40b849f82c"><div class="ttname"><a href="ffconf_8h.html#a14e73a5c703a586c614b3e40b849f82c">_MAX_LFN</a></div><div class="ttdeci">#define _MAX_LFN</div><div class="ttdef"><b>Definition:</b> <a href="ffconf_8h_source.html#l00112">ffconf.h:112</a></div></div>
<div class="ttc" id="structFATFS_html_ac26e848817569fedc15a9a4e49ddedd1"><div class="ttname"><a href="structFATFS.html#ac26e848817569fedc15a9a4e49ddedd1">FATFS::last_clst</a></div><div class="ttdeci">DWORD last_clst</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00114">ff.h:114</a></div></div>
<div class="ttc" id="structFIL_html_affec18b48fe716fdae6a60123fc61145"><div class="ttname"><a href="structFIL.html#affec18b48fe716fdae6a60123fc61145">FIL::sect</a></div><div class="ttdeci">DWORD sect</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00167">ff.h:167</a></div></div>
<div class="ttc" id="ff_8h_html_a917ffbec1c231c16e2b1baac2f69d876"><div class="ttname"><a href="ff_8h.html#a917ffbec1c231c16e2b1baac2f69d876">ff_memalloc</a></div><div class="ttdeci">void * ff_memalloc(UINT msize)</div></div>
<div class="ttc" id="ff_8h_html_a49d0171ecbd362cda5680a0d360db44ca3f8ca7e51af8b129d14328de7243c5d4"><div class="ttname"><a href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44ca3f8ca7e51af8b129d14328de7243c5d4">FR_TIMEOUT</a></div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00236">ff.h:236</a></div></div>
<div class="ttc" id="struct__FDID_html_a6912cfc1ea914d7b68a18b846065d790"><div class="ttname"><a href="struct__FDID.html#a6912cfc1ea914d7b68a18b846065d790">_FDID::attr</a></div><div class="ttdeci">BYTE attr</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00142">ff.h:142</a></div></div>
<div class="ttc" id="ff_8h_html_af58b536abfd30f77213f4ecaf2ac52f5"><div class="ttname"><a href="ff_8h.html#af58b536abfd30f77213f4ecaf2ac52f5">get_fattime</a></div><div class="ttdeci">DWORD get_fattime(void)</div><div class="ttdoc">Read time and convert to FAT32 time. </div><div class="ttdef"><b>Definition:</b> <a href="fatfs__sup_8c_source.html#l00130">fatfs_sup.c:130</a></div></div>
<div class="ttc" id="ff_8h_html_a49d0171ecbd362cda5680a0d360db44ca50dd3c3c274ccebb2cfbddde9d065bb9"><div class="ttname"><a href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44ca50dd3c3c274ccebb2cfbddde9d065bb9">FR_TOO_MANY_OPEN_FILES</a></div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00239">ff.h:239</a></div></div>
<div class="ttc" id="ffconf_8h_html"><div class="ttname"><a href="ffconf_8h.html">ffconf.h</a></div></div>
<div class="ttc" id="structFATFS_html_a84e9cdc5a6a8e33ea7ec192058abf161"><div class="ttname"><a href="structFATFS.html#a84e9cdc5a6a8e33ea7ec192058abf161">FATFS::fsi_flag</a></div><div class="ttdeci">BYTE fsi_flag</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00097">ff.h:97</a></div></div>
<div class="ttc" id="structFATFS_html_a217d0ce0c8cec84aa7f0c142679412c6"><div class="ttname"><a href="structFATFS.html#a217d0ce0c8cec84aa7f0c142679412c6">FATFS::cdir</a></div><div class="ttdeci">DWORD cdir</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00118">ff.h:118</a></div></div>
<div class="ttc" id="structFIL_html_a5af9e9fb312b629220eaf684dd28c4a9"><div class="ttname"><a href="structFIL.html#a5af9e9fb312b629220eaf684dd28c4a9">FIL::dir_ptr</a></div><div class="ttdeci">BYTE * dir_ptr</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00170">ff.h:170</a></div></div>
<div class="ttc" id="integer_8h_html_a6fe04fdd875bcad282f702bb818897b6"><div class="ttname"><a href="integer_8h.html#a6fe04fdd875bcad282f702bb818897b6">QWORD</a></div><div class="ttdeci">unsigned long long QWORD</div><div class="ttdef"><b>Definition:</b> <a href="integer_8h_source.html#l00034">integer.h:34</a></div></div>
<div class="ttc" id="structFIL_html_a088b03ab2e02f82e10e17bdd938190a6"><div class="ttname"><a href="structFIL.html#a088b03ab2e02f82e10e17bdd938190a6">FIL::fptr</a></div><div class="ttdeci">FSIZE_t fptr</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00165">ff.h:165</a></div></div>
<div class="ttc" id="structFILINFO_html_a838d542585831b085537b363f18205c0"><div class="ttname"><a href="structFILINFO.html#a838d542585831b085537b363f18205c0">FILINFO::fattrib</a></div><div class="ttdeci">BYTE fattrib</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00207">ff.h:207</a></div></div>
<div class="ttc" id="ff_8h_html_a49d0171ecbd362cda5680a0d360db44ca4b02760f758f5b1a89f445244fe9fbca"><div class="ttname"><a href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44ca4b02760f758f5b1a89f445244fe9fbca">FR_MKFS_ABORTED</a></div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00235">ff.h:235</a></div></div>
<div class="ttc" id="integer_8h_html_a36cb3b01d81ffd844bbbfb54003e06ec"><div class="ttname"><a href="integer_8h.html#a36cb3b01d81ffd844bbbfb54003e06ec">UINT</a></div><div class="ttdeci">unsigned int UINT</div><div class="ttdef"><b>Definition:</b> <a href="integer_8h_source.html#l00019">integer.h:19</a></div></div>
<div class="ttc" id="structDIR_html_acfbb8ba2d6e73b6f999ceffd1857c190"><div class="ttname"><a href="structDIR.html#acfbb8ba2d6e73b6f999ceffd1857c190">DIR::clust</a></div><div class="ttdeci">DWORD clust</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00187">ff.h:187</a></div></div>
<div class="ttc" id="ff_8h_html_aa82bca64e28bc0d656a7999dd0eadec7"><div class="ttname"><a href="ff_8h.html#aa82bca64e28bc0d656a7999dd0eadec7">f_setlabel</a></div><div class="ttdeci">FRESULT f_setlabel(const TCHAR *label)</div><div class="ttdef"><b>Definition:</b> <a href="ff_8c_source.html#l05005">ff.c:5005</a></div></div>
<div class="ttc" id="ffconf_8h_html_a9a3f0670343e51652dd12b18fa90a9eb"><div class="ttname"><a href="ffconf_8h.html#a9a3f0670343e51652dd12b18fa90a9eb">_SYNC_t</a></div><div class="ttdeci">#define _SYNC_t</div><div class="ttdef"><b>Definition:</b> <a href="ffconf_8h_source.html#l00257">ffconf.h:257</a></div></div>
<div class="ttc" id="structFIL_html_aea440945db26de9c4a88065c0c887fda"><div class="ttname"><a href="structFIL.html#aea440945db26de9c4a88065c0c887fda">FIL::err</a></div><div class="ttdeci">BYTE err</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00164">ff.h:164</a></div></div>
<div class="ttc" id="structFATFS_html_a8f0ca578755749d204f59dc83f1a7649"><div class="ttname"><a href="structFATFS.html#a8f0ca578755749d204f59dc83f1a7649">FATFS::volbase</a></div><div class="ttdeci">DWORD volbase</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00127">ff.h:127</a></div></div>
<div class="ttc" id="ff_8h_html_a49d0171ecbd362cda5680a0d360db44ca7db5afaaa2af591bd4a208b2967075d7"><div class="ttname"><a href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44ca7db5afaaa2af591bd4a208b2967075d7">FR_LOCKED</a></div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00237">ff.h:237</a></div></div>
<div class="ttc" id="ff_8h_html_a6db7bc3d037b51a9f205eacda6177a5f"><div class="ttname"><a href="ff_8h.html#a6db7bc3d037b51a9f205eacda6177a5f">f_findfirst</a></div><div class="ttdeci">FRESULT f_findfirst(DIR *dp, FILINFO *fno, const TCHAR *path, const TCHAR *pattern)</div><div class="ttdef"><b>Definition:</b> <a href="ff_8c_source.html#l04323">ff.c:4323</a></div></div>
<div class="ttc" id="struct__FDID_html_aefa4597d88e54bace32e6c15e11d9610"><div class="ttname"><a href="struct__FDID.html#aefa4597d88e54bace32e6c15e11d9610">_FDID::fs</a></div><div class="ttdeci">FATFS * fs</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00140">ff.h:140</a></div></div>
<div class="ttc" id="structFATFS_html_a189a00aa038044ffad0fc7f7dcf2aae1"><div class="ttname"><a href="structFATFS.html#a189a00aa038044ffad0fc7f7dcf2aae1">FATFS::n_rootdir</a></div><div class="ttdeci">WORD n_rootdir</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00099">ff.h:99</a></div></div>
<div class="ttc" id="ff_8h_html_aafaa718d1a487e12a8f0087173dba0b9"><div class="ttname"><a href="ff_8h.html#aafaa718d1a487e12a8f0087173dba0b9">f_utime</a></div><div class="ttdeci">FRESULT f_utime(const TCHAR *path, const FILINFO *fno)</div><div class="ttdef"><b>Definition:</b> <a href="ff_8c_source.html#l04869">ff.c:4869</a></div></div>
<div class="ttc" id="structFIL_html"><div class="ttname"><a href="structFIL.html">FIL</a></div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00161">ff.h:161</a></div></div>
<div class="ttc" id="integer_8h_html"><div class="ttname"><a href="integer_8h.html">integer.h</a></div></div>
<div class="ttc" id="ff_8h_html_ab85fd090c8b8b17846ccc1e8cda16a9b"><div class="ttname"><a href="ff_8h.html#ab85fd090c8b8b17846ccc1e8cda16a9b">ff_memfree</a></div><div class="ttdeci">void ff_memfree(void *mblock)</div></div>
<div class="ttc" id="ff_8h_html_a0fa54bd310785ecdaed19dda8f60dac5"><div class="ttname"><a href="ff_8h.html#a0fa54bd310785ecdaed19dda8f60dac5">f_gets</a></div><div class="ttdeci">TCHAR * f_gets(TCHAR *buff, int len, FIL *fp)</div><div class="ttdef"><b>Definition:</b> <a href="ff_8c_source.html#l05826">ff.c:5826</a></div></div>
<div class="ttc" id="ff_8h_html_a4ce26253177c167df849e76f69b5c66c"><div class="ttname"><a href="ff_8h.html#a4ce26253177c167df849e76f69b5c66c">f_printf</a></div><div class="ttdeci">int f_printf(FIL *fp, const TCHAR *str,...)</div><div class="ttdef"><b>Definition:</b> <a href="ff_8c_source.html#l06040">ff.c:6040</a></div></div>
<div class="ttc" id="ff_8h_html_a456e5ccf09f62138797214f41fdb2a47"><div class="ttname"><a href="ff_8h.html#a456e5ccf09f62138797214f41fdb2a47">f_expand</a></div><div class="ttdeci">FRESULT f_expand(FIL *fp, FSIZE_t szf, BYTE opt)</div><div class="ttdef"><b>Definition:</b> <a href="ff_8c_source.html#l05133">ff.c:5133</a></div></div>
<div class="ttc" id="ff_8h_html_a49d0171ecbd362cda5680a0d360db44ca62fce5cd9df008f8fc85f99706bda5f1"><div class="ttname"><a href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44ca62fce5cd9df008f8fc85f99706bda5f1">FR_OK</a></div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00221">ff.h:221</a></div></div>
<div class="ttc" id="structFATFS_html_a647e43c9ccae94b7274793d1909897de"><div class="ttname"><a href="structFATFS.html#a647e43c9ccae94b7274793d1909897de">FATFS::wflag</a></div><div class="ttdeci">BYTE wflag</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00096">ff.h:96</a></div></div>
<div class="ttc" id="structFIL_html_aa41312aba551b9a6d1c9d3c8c7d2734b"><div class="ttname"><a href="structFIL.html#aa41312aba551b9a6d1c9d3c8c7d2734b">FIL::clust</a></div><div class="ttdeci">DWORD clust</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00166">ff.h:166</a></div></div>
<div class="ttc" id="ff_8h_html_a49d0171ecbd362cda5680a0d360db44caf56a76a86602cbdeb2c4f3d00cfad21c"><div class="ttname"><a href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44caf56a76a86602cbdeb2c4f3d00cfad21c">FR_NOT_ENOUGH_CORE</a></div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00238">ff.h:238</a></div></div>
<div class="ttc" id="ff_8h_html_a49d0171ecbd362cda5680a0d360db44ca3b89faeceab64db277d0fcdeaaa315d6"><div class="ttname"><a href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44ca3b89faeceab64db277d0fcdeaaa315d6">FR_INVALID_PARAMETER</a></div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00240">ff.h:240</a></div></div>
<div class="ttc" id="ff_8h_html_a49d0171ecbd362cda5680a0d360db44cac9894bed3e8632ede8d2712235fa8e45"><div class="ttname"><a href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44cac9894bed3e8632ede8d2712235fa8e45">FR_NOT_READY</a></div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00224">ff.h:224</a></div></div>
<div class="ttc" id="structFIL_html_ab203794f939ad4480e81dfa488770783"><div class="ttname"><a href="structFIL.html#ab203794f939ad4480e81dfa488770783">FIL::dir_sect</a></div><div class="ttdeci">DWORD dir_sect</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00169">ff.h:169</a></div></div>
<div class="ttc" id="ff_8h_html_a013999e446481a607316b916441f8673"><div class="ttname"><a href="ff_8h.html#a013999e446481a607316b916441f8673">f_findnext</a></div><div class="ttdeci">FRESULT f_findnext(DIR *dp, FILINFO *fno)</div><div class="ttdef"><b>Definition:</b> <a href="ff_8c_source.html#l04297">ff.c:4297</a></div></div>
<div class="ttc" id="ff_8h_html_ab63b213c75f7335fbb63a1f3f70e5fc7"><div class="ttname"><a href="ff_8h.html#ab63b213c75f7335fbb63a1f3f70e5fc7">f_opendir</a></div><div class="ttdeci">FRESULT f_opendir(DIR *dp, const TCHAR *path)</div><div class="ttdef"><b>Definition:</b> <a href="ff_8c_source.html#l04155">ff.c:4155</a></div></div>
<div class="ttc" id="ff_8h_html_a2858167fcd0bced48e9be434b3895efe"><div class="ttname"><a href="ff_8h.html#a2858167fcd0bced48e9be434b3895efe">f_unlink</a></div><div class="ttdeci">FRESULT f_unlink(const TCHAR *path)</div><div class="ttdef"><b>Definition:</b> <a href="ff_8c_source.html#l04526">ff.c:4526</a></div></div>
<div class="ttc" id="struct__FDID_html"><div class="ttname"><a href="struct__FDID.html">_FDID</a></div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00139">ff.h:139</a></div></div>
<div class="ttc" id="ff_8h_html_acb865a03dbac0031ac5cb8a031f7b71c"><div class="ttname"><a href="ff_8h.html#acb865a03dbac0031ac5cb8a031f7b71c">f_getcwd</a></div><div class="ttdeci">FRESULT f_getcwd(TCHAR *buff, UINT len)</div><div class="ttdef"><b>Definition:</b> <a href="ff_8c_source.html#l03919">ff.c:3919</a></div></div>
<div class="ttc" id="ff_8h_html_a49d0171ecbd362cda5680a0d360db44ca086154b5fee763f28c49fd0e2c1cb463"><div class="ttname"><a href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44ca086154b5fee763f28c49fd0e2c1cb463">FR_NO_FILESYSTEM</a></div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00234">ff.h:234</a></div></div>
<div class="ttc" id="structFATFS_html_a53e9560659f14e66f306c2c444198bf3"><div class="ttname"><a href="structFATFS.html#a53e9560659f14e66f306c2c444198bf3">FATFS::fsize</a></div><div class="ttdeci">DWORD fsize</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00126">ff.h:126</a></div></div>
<div class="ttc" id="ff_8h_html_a49d0171ecbd362cda5680a0d360db44ca3dec4eba481cdf5e99d7cd6009e6dcf8"><div class="ttname"><a href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44ca3dec4eba481cdf5e99d7cd6009e6dcf8">FR_INVALID_OBJECT</a></div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00230">ff.h:230</a></div></div>
<div class="ttc" id="structFATFS_html_a3f72fd998dbcce4652a85a81fe944bc4"><div class="ttname"><a href="structFATFS.html#a3f72fd998dbcce4652a85a81fe944bc4">FATFS::dirbase</a></div><div class="ttdeci">DWORD dirbase</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00129">ff.h:129</a></div></div>
<div class="ttc" id="struct__FDID_html_ae2fbaaa31b5d12b333cb6d1ded099412"><div class="ttname"><a href="struct__FDID.html#ae2fbaaa31b5d12b333cb6d1ded099412">_FDID::sclust</a></div><div class="ttdeci">DWORD sclust</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00144">ff.h:144</a></div></div>
<div class="ttc" id="ff_8h_html_a49d0171ecbd362cda5680a0d360db44cac3afbb423b1d4497229416812aff383b"><div class="ttname"><a href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44cac3afbb423b1d4497229416812aff383b">FR_WRITE_PROTECTED</a></div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00231">ff.h:231</a></div></div>
<div class="ttc" id="structFATFS_html_ad7fa7a509f8d097a9ab182d6c47be568"><div class="ttname"><a href="structFATFS.html#ad7fa7a509f8d097a9ab182d6c47be568">FATFS::csize</a></div><div class="ttdeci">WORD csize</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00100">ff.h:100</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Jan 31 2018 21:22:16 for ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
